package com.sinog.alarm.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.stereotype.Component;
import java.util.Date;

/**
 * @desc Alarm
 * @author lk
 * @date 2022-02-18 14:04
 */
@Component
@EqualsAndHashCode(callSuper = true)
@Data
@Accessors(chain = true)
@TableName("ab_alarm")
public class Alarm extends Model<Alarm> {

    private static final long serialVersionUID = 4420297509448591662L;
    /**
     * 默认递增ID
     */
    private Integer id;
    /**
     * 本级标识
     */
    private Integer flag;
    /**
     * 本级标识的名字
     */
    private String flagName;
    /**
     * 本级
     */
    private String code;
    /**
     * 上级
     */
    private String parentCode;
    /**
     * 本级名称
     */
    private String codeName;
    /**
     * 修改类型标识
     */
    private String type;
    /**
     * 标识备注
     */
    private String remark;
    /**
     * 插入时间
     */
    private Date createTime;
}